//inspired by www.dzone.com
$(function () {
	
		$("#userArbitraryId").blur(function () {
			userId = $("#userArbitraryId").val();
			$.ajax({type:"GET", dataType:"html", url:"getusersimpleprofile.php?id="+userId, 
				success:function (html) {
					html = $.trim(html);
					if (html) $("#usersimpleprofile").html(html);
				}, 
				complete:function () {
					//nothing to do
					$("#userSysId").val($("#divUserSysId").text());
				}
			});
		});
	 	
});